/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.mine.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.mine.entity.Mine;
import com.thinkgem.jeesite.modules.mine.dao.MineDao;

/**
 * 矿井信息Service
 * @author developer
 * @version 2018-10-27
 */
@Service
@Transactional(readOnly = true)
public class MineService extends CrudService<MineDao, Mine> {

	public Mine get(String id) {
		return super.get(id);
	}
	
	public List<Mine> findList(Mine mine) {
		return super.findList(mine);
	}
	
	public Page<Mine> findPage(Page<Mine> page, Mine mine) {
		return super.findPage(page, mine);
	}
	
	@Transactional(readOnly = false)
	public void save(Mine mine) {
		super.save(mine);
	}
	
	@Transactional(readOnly = false)
	public void delete(Mine mine) {
		super.delete(mine);
	}
	
}